package com.project.modules.notice.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.project.common.api.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * Model
 *
 * @author Qing2514
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("tbl_message")
@ApiModel(value = "对象", description = "TblMessage")
public class TblMessage extends BaseModel {

    @ApiModelProperty("红包id")
    private Long redId;

    @ApiModelProperty("收取人群id")
    private Long receiveUserId;

    @ApiModelProperty("发送账号id")
    private Long sendUserId;

    @ApiModelProperty("是否自动发送")
    private Integer isAuto;

    @ApiModelProperty("发送时间")
    private Date sendTime;

    @ApiModelProperty("收到回复")
    private String reply;

    @ApiModelProperty("消息内容")
    private String content;

    @ApiModelProperty("消息形式 1-短信发送 2-邮件发送")
    private Integer method;

}
